package com.yykj.hospital.server.service.from.template;

import com.yykj.common.vo.PageData;
import com.yykj.hospital.server.dto.train.FormTrainFeedbackDetailDTO;
import com.yykj.hospital.server.dto.train.FormTrainLogListDTO;
import com.yykj.hospital.server.form.train.FormTrainContent;
import com.yykj.hospital.server.form.train.FormTrainLogSearchForm;
import com.yykj.hospital.server.form.train.FormTrainSearchForm;
import com.yykj.hospital.server.form.train.TrainFeedbackStatusForm;
import com.yykj.hospital.server.model.entity.form.template.FormTrain;
import com.yykj.hospital.server.model.entity.form.template.FormTrainDetail;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

public interface FormTrainService {
    FormTrain editFormTrain(FormTrain formTrain);
    void deleteFormTrain(Integer id);
    PageData<FormTrain> listFormTrain(FormTrainSearchForm form);

    FormTrainDetail editFormTrainDetail(FormTrainDetail detail);

    void deleteFormTrainDetail(Integer id);

    List<FormTrainDetail> listFormTrainDetail(Integer id);

    void submitTrain(FormTrainContent content);

    PageData<FormTrainLogListDTO> listFormTrainFeedbackLog(FormTrainLogSearchForm form);

    List<FormTrainFeedbackDetailDTO> listFormTrainFeedbackDetail(Integer id);

    void changeStatusTrainFeedback(TrainFeedbackStatusForm form);

    Workbook exportTrainFeedbackLog(FormTrainLogSearchForm form);
}
